package routers

import (
	"backend/apis/goods_manage"
	"github.com/gin-gonic/gin"
)

func GoodsRouter(r *gin.RouterGroup) {
	r.GET("/", goods_manage.GetALlGoods)

	r.POST("/", goods_manage.AddGoods)

	r.PUT("/", goods_manage.UpdateGoods)

	r.DELETE("/", goods_manage.DeleteGoods)
}
